﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace WuDada.Core.Post.Domain
{
    [Serializable]
    [DataContract]
    public class QuestionVO : BaseQuestion
    {
        #region Constructor

        public QuestionVO()
        {
            this.Flag = 1;
            this.SortNo = 0;
        }

        #endregion

        #region Property

        /// <summary>
        /// Pkey
        /// </summary>
        [DataMember]
        public virtual int QuestionId { get; set; }

        [DataMember]
        public virtual int SortNo { get; set; }

        [DataMember]
        public virtual int Flag { get; set; }

        /// <summary>
        /// 屬於的主題
        /// </summary>
        [DataMember]
        public virtual PostVO Post { get; set; }

        #endregion
    }
}
